package com.sports.service;

import com.sports.domain.model.LoginUserEntity;

import javax.servlet.http.HttpServletRequest;

public interface TokenService {

    LoginUserEntity getLoginUser(HttpServletRequest request);

    Long getUserId();

    void verifyToken(LoginUserEntity loginUser);

    void refreshToken(LoginUserEntity loginUser);

    String createToken(LoginUserEntity loginUser);

    void delLoginUser(String token);
}
